﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace CIRDiagnoseDevice
{
    public partial class GPRS_ConnSet : Form
    {
        private string gprs_ConnName;
        private string gprs_CabNum;

        public string GPRS_ConnName
        {
            get { return gprs_ConnName; }
        }

        public string GPRS_CabNum
        {
            get { return gprs_CabNum; }
        }

        public GPRS_ConnSet()
        {
            InitializeComponent();
            textBox1.Focus();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if(textBox1.Text != null)
            {
                gprs_ConnName = textBox1.Text;
            }
            if(textBox2.Text != null)
            {
               gprs_CabNum = textBox2.Text;

            }
            this.Close();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.Close();
        }

    }
}
